package com.yyfax.pay.vo.depository;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.hibernate.validator.constraints.NotBlank;

/**
 * 转账充值请求参数
 * 
 * @author buyi
 * @date 2018-03-28 10:39:12
 * @since v2.1.3
 */
@SuppressWarnings("serial")
public class TransferChargeReq extends ChargeBaseReq {

	/** 支付主体类型 */
	@NotBlank(message = "subjectType不能为空")
	private String subjectType;

	/** 异步回调地址 */
	@NotBlank(message = "notifyUrl不能为空")
	private String notifyUrl;

	public String getSubjectType() {
		return subjectType;
	}

	public void setSubjectType(String subjectType) {
		this.subjectType = subjectType;
	}

	public String getNotifyUrl() {
		return notifyUrl;
	}

	public void setNotifyUrl(String notifyUrl) {
		this.notifyUrl = notifyUrl;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
	}
}
